<?php
class BlogModel extends Model{
	public function __construct()
	{
		parent::__construct();
		$this->tableName = "blog";
		$this->formMapping = array(
			'blog_id' => 'blog_id',
			'author_id' => 'author_id',
			'blog_time' => 'blog_time',
			'blog_title' => 'blog_title',
			'blog_text' => 'blog_text',
			'blog_privacy' => 'blog_privacy'
			);
	}
	public function __toString()
	{
		return "Db : ". $this->db . ", Name : ". $this->tableName;
	}
};
?>
